<ParamField body="domain" type="string">
  The domain of the short link. If not provided, the primary domain for the
  workspace will be used (or `dub.sh` if the workspace has no domains).
</ParamField>

<ParamField body="key" type="string">
  The short link slug. If not provided, a random 7-character slug will be
  generated.
</ParamField>

<ParamField body="externalId" type="string | null">
  This is the ID of the link in your database. If set, it can be used to
  identify the link in the future.
</ParamField>

<ParamField body="prefix" type="string">
  The prefix of the short link slug for randomly-generated keys (e.g. if prefix
  is `/c/`, generated keys will be in the `/c/:key` format). Will be ignored if
  key is provided.
</ParamField>

<ParamField body="archived" type="boolean" default={false}>
  Whether the short link is archived.
</ParamField>

<ParamField body="publicStats" type="boolean" default={false}>
  Whether the short link's stats are publicly accessible.
</ParamField>

<ParamField body="tagId" type="string | null">
  The unique ID of the tag assigned to the short link. This field is deprecated
  – use `tagIds` instead.
</ParamField>

<ParamField body="tagIds" type="string">
  The unique IDs of the tags assigned to the short link.
</ParamField>

<ParamField body="comments" type="string | null">
  The comments for the short link.
</ParamField>

<ParamField body="expiresAt" type="string | null">
  The date and time when the short link will expire at.
</ParamField>

<ParamField body="expiredUrl" type="string | null">
  The URL to redirect to when the short link has expired.
</ParamField>

<ParamField body="password" type="string | null">
  The password required to access the destination URL of the short link.
</ParamField>

<ParamField body="proxy" type="boolean" default={false}>
  Whether the short link uses Custom Social Media Cards feature.
</ParamField>

<ParamField body="title" type="string | null">
  The title of the short link generated via `api.dub.co/metatags`. Will be used
  for Custom Social Media Cards if proxy is true.
</ParamField>

<ParamField body="description" type="string | null">
  The description of the short link generated via `api.dub.co/metatags`. Will be
  used for Custom Social Media Cards if proxy is true.
</ParamField>

<ParamField body="image" type="string | null">
  The image of the short link generated via `api.dub.co/metatags`. Will be used
  for Custom Social Media Cards if proxy is true.
</ParamField>

<ParamField body="rewrite" type="boolean" default={false}>
  Whether the short link uses link cloaking.
</ParamField>

<ParamField body="ios" type="string | null">
  The iOS destination URL for the short link for iOS device targeting.
</ParamField>

<ParamField body="android" type="string | null">
  The Android destination URL for the short link for Android device targeting.
</ParamField>
